Expand description
Re-exports§
Modules§
- align
- Tools to control view alignment.
- backend
- Define the backend trait for actual terminal interaction.
- buffer
- Output buffer
- builder
- Build views from configuration.
- direction
- Direction-related structures.
- event
- User-input events and their effects.
- logger
- Logging utilities.
- menu
- Build menu trees.
- reexports
- Re-export crates used in the public API
- style
- Handle colors and styles in the UI.
- theme
- Theming support for a consistent UI.
- traits
- Commonly used traits bundled for easy import.
- utils
- Toolbox to make text layout easier.
- vec
- Points on the 2D character grid.
- view
- Base elements required to build views.
- views
- Various views to use when creating the layout.
Macros§
- fn_
blueprint - Define a macro for a variable builder.
- immut1
- Macro to wrap a
FnMut
with 1 argument into aFn
. - immut2
- Macro to wrap a
FnMut
with 2 arguments into aFn
. - immut3
- Macro to wrap a
FnMut
with 3 arguments into aFn
. - impl_
enabled - A macro to help with creating toggleable views.
- impl_
scroller - Implements the
Scroller
trait for any type. - inner_
getters - Convenient macro to implement the getters for inner
View
inViewWrapper
. - manual_
blueprint - Define a blueprint to manually build this view from a config file.
- once1
- Macro to wrap a
FnOnce
with 1 argument into aFnMut
. - submit
- Enter an element into the plugin registry corresponding to its type.
- wrap_
impl - Convenient macro to implement the
ViewWrapper
trait.
Structs§
- Cursive
- Central part of the cursive library.
- Cursive
Runner - Event loop runner for a cursive instance.
- Dump
- Represents a dump of everything from a
Cursive
instance. - Printer
- Convenient interface to draw on a subset of the screen.
- Rect
- A non-empty rectangle on the 2D grid.
- XY
- A generic structure with a value for each axis.
Traits§
- With
- Generic trait to enable chainable API
Type Aliases§
- CbSink
- Convenient alias to the result of
Cursive::cb_sink
. - Screen
Id - Identifies a screen in the cursive root.
Attribute Macros§
- blueprint
- Defines a blueprint for creating a view from config.
- callback_
helpers - Generate two helper functions to help working with cursive blueprints.